#encoding=utf-8

from apps import init_app
from flask_jsonrpc import JSONRPC
app = init_app("dev")





#引入modules目录下面的api接口
from home import api#当manage.py serverse运行时,配置配完了之后 就会运行api下的对应的api皆苦
from goods import api
from news import api





# 引入modules目录下面的模型
from home.models import SiteConfig,Nav,Banner
from goods.models import GoodsCategory,GoodsSPU
from news.models import NewsCategory,News

if __name__ == '__main__':
    print(app.url_map)
    app.manager.run()